package com.edu.springboot.mapper;

import com.edu.springboot.bean.User;
import com.edu.springboot.bean.UserLogin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    List<User> selectUsers();

    UserLogin selectlogin(String username,String password);


    List<UserLogin> selectUser();

    List<User> selectUserr();

}